/* app css stylesheet */

h2.myHeader {
    border-bottom: 1px solid #d4d4d4;
    border-top: 1px solid #d4d4d4;
    border-radius: 5px;
    box-shadow: 3px 3px 3px #ccc;
    color: #fff;
    font-size: 1.3em;
    margin: 12px;
    padding: 0.3em 1em;
    text-shadow: #9FBEB9 1px 1px 1px;
    text-align: center;
}

.mainHeader { background-color: #0B5586; }
.subHeader { background-color: #4494C9; }
.footer { background-color: #afb5b8; }

.headerLink {
    font-size:small !important;
    color:black !important;
    text-decoration:underline !important;
}

.customLabelLeft, .customLabelRight, .customLabelLeftSkinny, .customLabelRightSkinny {
    border-bottom: 1px solid #d4d4d4;
    border-top: 1px solid #d4d4d4;
    border-radius: 5px;
    box-shadow: 3px 3px 3px #ccc;
    font-size: 1em;
    padding: 0.3em 1em;    
    display: inline-block;
}

.customLabelLeft { color: white; background-color: #4494C9; width: 15em; text-align: right; }
.customLabelRight { color: white; background-color: #9FBEB9; width: 45em; text-align: left; font-weight: bold; }
.customLabelLeftSkinny { color: white; background-color: #4494C9; width: 8em; text-align: right; }
.customLabelRightSkinny { color: white; background-color: #9FBEB9; width: 25em; text-align: left; font-weight: bold; }

.userMessage, .seperator {
    /*background-color: #7a5a5a;*/
    background-color: #F0F5F5;
    color: black !important;
    font-size: 1.0em !important;
    text-align: left !important;
    text-shadow: none !important;
}

.seperator { background-color: #4494C9 }

div.OneOfOne { height:550px; overflow:auto }
div.OneOfTwo { height:300px; overflow:auto }
div.TwoOfTwo { height:250px; overflow:auto }
div.PageContainer { width:910px }

.gridLessThanHalf {
    margin: 0 auto; /* So the grid is centered */
    border: 1px solid rgb(212,212,212);
    width: 850px; 
    height: 240px;
}

.gridHalf {
    margin: 0 auto; /* So the grid is centered */
    border: 1px solid rgb(212,212,212);
    width: 850px; 
    height: 300px;
}

.gridFull {
    margin: 0 auto; /* So the grid is centered */
    border: 1px solid rgb(212,212,212);
    width: 850px; 
    height: 500px;
}

.gridFullThin {
    border: 1px solid rgb(212,212,212);
    width: 440px; 
    height: 500px;
}

.waitImage, .waitImageThin {
    height:64px;
    width:64px;
    margin:0px auto;
    display:block;
    position: absolute;
    left: 400px;
    top: 150px;
}

.waitImageTopGridPosition {
    position:absolute;
    top:35%;
    left:22%;
    z-index:100;
}

.waitImageThin { left:200px; }

.red {
    color: red; 
}

.black {
    color: black;
}

.ng-slider {
  background-color: lightblue;
  border-color: black;
  border-width: thin;
  width: 10em;
  height: 2em;
  line-height: 2em;  /* This causes the text to be centered vertically. */
  position: absolute;
  text-align: center;
  font-size: small;
  
  /* Add vendor prefixes as needed */
  transition: top 800ms linear, left 800ms linear;
}

.menu {
  list-style: none;
  border-bottom: 0.1em solid black;
  margin-bottom: 2em;
  padding: 0 0 0.5em;
}

.menu:before {
  content: "[";
}

.menu:after {
  content: "]";
}

.menu > li {
  display: inline;
}

.menu > li:before {
  content: "|";
  padding-right: 0.3em;
}

.menu > li:nth-child(1):before {
  content: "";
  padding: 0;
}

/* This is here so angular ui-grids only show scrollbars when necessary. http://stackoverflow.com/a/35847744/279516 */
.ui-grid .ui-grid-render-container-body .ui-grid-viewport {
  overflow-x: auto !important;
  overflow-y: auto !important;
}

.ui-grid {
  border-bottom-width: 2px !important; /* Hack: Bottom row covers 1px of this border. So make it 2px so bottom border shows. */
}

/* ui-grid draggable styling */

.ui-grid-draggable-row {
    height: 30px;
}

.ui-grid-draggable-row-over {
    position: relative;
    color: #AAA;
}

.ui-grid-draggable-row-over:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    border-bottom: 1px dashed #AAA;
}

.ui-grid-draggable-row-over--above:before {
    top: 0;
}

.ui-grid-draggable-row-over--below:before {
    bottom: 0;
}

.app-modal-window .modal-dialog {
  width: 500px;
}

.modal-title {
    background-color:#4494C9;
    color:#fff;
    text-align:center;
    border-radius:5px;
}

.navBar li {
    display: inline;
}

.navBar li  a {
    list-style: none;    
    width: 115px;
    height: 25px;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    color: black;
    font-weight: bold;
    border-color: black;
    border-style: groove;
    border-width: thin; 
    background: #d4d4d4;
    text-decoration: none;  /* We don't want the underlines in the navbar link buttons */
    font-size: 0.9em;
}  

.navBar a:hover {
        background: #F0F5F5;
    }

.navBar a.active {
        background: white;
    }